package seven.test_7_30;

import java.util.Scanner;

public class TestMain1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int[] d = new int[n];
        int di = 0;
        int[] o = new int[n];
        int oi = 0;
        for (int i = 1; i <= n; i++) {
            if(i % 2 == 0) {
                d[di] = i;
                di++;
            } else {
                o[oi] = i;
                oi++;
            }
        }
        int i = 0;
        int j = 0;
        if(di > oi) {
            i = 1;
            System.out.print(d[0] + " ");
            while (i < di && j < oi) {
                System.out.print(d[i] + " ");
                System.out.print(o[j] + " ");
                i++;
                j++;
            }
        } else if(oi > di){
            j = 1;
            System.out.print(o[0] + " ");
            while (i < di && j < oi) {
                System.out.print(o[j] + " ");
                System.out.print(d[i] + " ");
                i++;
                j++;
            }
        } else {
            while (i < di && j < oi) {
                System.out.print(o[j] + " ");
                System.out.print(d[i] + " ");
                i++;
                j++;
            }
        }

    }
}
